package com.my.vote.pst.user;

import com.my.vote.entity.req.ReqRegister;
import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

/**
 * 功能描述:
 *
 * @author
 * @date 2018/4/12
 */
@Service(achieve = PstRegister.class)
public interface IPstRegister extends IPresenter<IPstRegister.IVRegister> {

    interface IVRegister extends IView {
        void onSuccess();

        void onError(String error);
    }

    void register(ReqRegister reqRegister);

}
